import Home from '../Page/Home'
import Detail from '../Page/Detail'
import Query from '../Page/query'
import { createBrowserRouter } from 'react-router-dom'
import Order from '../Page/Order'

export const  router=createBrowserRouter([
    {
        path:'/',
        element:<Home/>
    },
    {
        path:'/detail/:id',
        element:<Detail/>
    },
    {
        path:'/query',
        element:<Query/>
    },
    {
        path:'/order',
        element:<Order/>
    }
])